<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="xm"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link type="text/css" rel="stylesheet" href="<%=request.getContextPath() %>/css/base.css">
<link type="text/css" rel="stylesheet" href="<%=request.getContextPath() %>/css/orderDetial.css">
</head>
<body>
	 <div id="box">
		<jsp:include page="/comm/header.jsp"></jsp:include>
		 <div id="main">
		 	 <div id="orderDetialInfo">
		 	 	<img alt="" src="<%=request.getContextPath() %>/images/Car_icon_18.png">
		 	 	<table class="table1">
		 	 		 <tr class="bg_tr">
                   <td class="td_left">订单编号：</td>
                   <td>${ordersModel.orderNO }</td>
                </tr>
                <tr class="bg_tr">
                   <td class="td_left">金额：</td>
                   <td>￥${ordersModel.money }</td>
                </tr>
                <tr class="bg_tr">
                   <td class="td_left">下单日期：</td>
                   <td>${ordersModel.orderDate }</td>
                </tr>
                <tr class="bg_tr">
                   <td class="td_left">会员级别：</td>
                   <td>${memberInfo.levelName }</td>
                </tr>
                <tr class="bg_tr">
                   <td class="td_left">会员优惠：</td>
                   <td>${memberInfo.favourable }折</td>
                </tr>
                <tr class="bg_tr">
                   <td class="td_left">收货人姓名：</td>
                   <td>${memberInfo.memberName }</td>
                </tr>
                <tr class="bg_tr">
                   <td class="td_left">收货人联系电话：</td>
                   <td>${memberInfo.phone }</td>
                </tr>
                <tr class="bg_tr">
                   <td class="td_left">收货人联系邮编：</td>
                   <td>${memberInfo.zip }</td>
                </tr>
                <tr class="bg_tr">
                   <td class="td_left">收货人详细信息：</td>
                   <td>${memberInfo.address }</td>
                </tr>
		 	 	</table>
		 	 	<table class="table2">
		 	 		<caption>订单购物明细表</caption>
		 	 		<tr class="bg_tr">
		 	 			<td>商品名称</td>
		 	 			<td>会员价</td>
		 	 			<td>市场价</td>
		 	 			<td>数量</td>
		 	 			<td>金额</td>
		 	 		</tr>
		 	 		 <xm:forEach items="${cartSelectedMerList }" var="cartMer" >
		                <tr>
		                   <td>
		                       <a href="#">${cartMer.merName }</a>
		                   </td>
		                   <td>￥${cartMer.merPrice }</td>
		                   <td>￥${cartMer.price }</td>
		                   <td>${cartMer.number }</td>
		                   <td>￥${cartMer.money }</td>
		                </tr>
               		 </xm:forEach>
		 	 	</table>
		 	 	<div class="backDiv">
		 	 		<a class="font_red"  onclick="javascript:history.back(-1)">
		 	 			 
		 	 			<img alt="" title="返回上一页" src="<%=request.getContextPath() %>/images/fanhui1.gif" >
		 	 		</a>
		 	 	</div>
		 	 </div>
		 </div>
		 <jsp:include page="/comm/footer.jsp"></jsp:include>
	 </div>
</body>
</html>